package com.ssy.lingxi.member.merchant.model.vo.basic.request;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 校验邮件验证码是否正确接口参数
 * @author 万宁
 * @version 2.0.0
 * @date 2021-09-27
 */
public class EmailSmsVO implements Serializable {
    private static final long serialVersionUID = 3552393281526142706L;

    /**
     * 邮箱
     */
    @Email(message = "邮箱格式不正确")
    private String email;

    /**
     * 邮件验证码
     */
    @NotBlank(message = "邮件验证码不能为空")
    private String smsCode;

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getSmsCode() {
        return smsCode;
    }

    public void setSmsCode(String smsCode) {
        this.smsCode = smsCode;
    }
}
